package common.dto.orderdto;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单DTO
 * 用于显示订单列表的内容
 */
@Data
public class OrderDTO {
    private Long id;//订单id
    private String orderNo;//订单编号
    private BigDecimal totalAmount;//订单总价
    private BigDecimal itemAmount;//商品总价
    private BigDecimal freightAmount;//运费
    private BigDecimal discountAmount;//优惠
    private BigDecimal payAmount;//实付金额
    private Integer paymentType;//支付方式
    private Integer paymentStatus;//支付状态
    private Date paymentTime;//支付时间
    private Integer status;//订单状态
    private List<OrderItemDTO> orderItemList;//订单项列表
    private Date createTime;//下单时间
}
